<?php
require_once "session.php";
$phone=$_REQUEST["tel"];
$user=$core->GetUserByPhone($phone);
$expend=$core->GetUserExpendAndPrize($user["id"]);
echo json_encode($expend);